﻿package com.ufenlei.LTS{
	import flash.events.Event;
	import flash.text.TextField;
	
	public class RadioBox extends Input{
		protected var _label:String;
		protected var _index:int;
		protected var _labelText:TextField;
		
		public function RadioBox(lbl:String ,idx:int= 0,  de:Boolean = false, lck:Boolean = false){
			super(de,lck);
			_label = lbl;
			_index = idx;
		}
		public function get idx ():uint{
			return this._index;
		}
		override protected function onClick():void{
			if(!value){
				select();
			}
		}
		private function mu(evt:Event){
			trace("mouse up event");
		}
	}
}